using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GenericsExercise
{
    internal static class ThreadMethod
    {
        public static void AddUser(this BaseRepository<User> baseRepository, Object value)
        {
            if( value is User user)
            baseRepository.Add(user); 
        }
    }
}
